﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wpf.MEF.Interface;
using Wpf.MEF.Model;

namespace Wpf.MEF.DataServic
{
    [Export("Account",typeof(IAccount))]
    public class AccountService : IAccount
    {
        public AccountModel GetAccount()
        {
            return new AccountModel
            {
                ID = "111" ,
                Account = "zhouwenguang" ,
                Password = "123456" ,
                UserInfo = new UserInfoModel
                {
                    Email = "zhouwenguangmail@163.com",
                    FristName = "周",
                    LastName = "文光" , 
                    Gender = "男",
                    NickName = "犹如小白龙",
                    Telphone = "13522296664"
                }
            };
        }
    }
}
